package cn.ssm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.ssm.pojo.Class;
import cn.ssm.pojo.Fault;

@Repository("FaultMapper")
public interface FaultMapper {
  
	
	
	public int selectfaultCount();

	public int addfaultInfo(Fault fault);
	public int deleteFault(@Param("id")int id);
	
	public List<Fault> faultInfo(@Param("form")int form,@Param("pageSize")int pageSize);  
	public List<Fault> faultInfo1();  

	

	
	
	
	
	
}
